package com.activiti6.demo.entity;

import org.activiti.engine.task.Comment;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @Auther: 周作为
 * @Date: 2019/4/15 17:20
 * @Description:
 */
public class TaskEntity {

    //任务id
    private  String id;

    //任务节点名称
    private String name;

    //创建时间
    private Date createTime;

    //流程实例Id
    private String processInstanceId;

    //流程部署Id
    private String processDefinitionId;

    //流程部署名称
    private String processDefinitionName;

    //流程创建人
    private String createName;

    //当前节点任务候选人
    private List<TaskUserEntity> users;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getProcessInstanceId() {
        return processInstanceId;
    }

    public void setProcessInstanceId(String processInstanceId) {
        this.processInstanceId = processInstanceId;
    }

    public String getProcessDefinitionId() {
        return processDefinitionId;
    }

    public void setProcessDefinitionId(String processDefinitionId) {
        this.processDefinitionId = processDefinitionId;
    }

    public String getProcessDefinitionName() {
        return processDefinitionName;
    }

    public void setProcessDefinitionName(String processDefinitionName) {
        this.processDefinitionName = processDefinitionName;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public List<TaskUserEntity> getUsers() {
        return users;
    }

    public void setUsers(List<TaskUserEntity> users) {
        this.users = users;
    }
}
